<?php
class BaseAction extends Action{
     public function _initialize(){
         if($_SESSION['userMsg']['userType']==NULL){
             $this->success("未正常登录无法访问！",__ROOT__."/index.php");
         }
     }
    
}